package com.team7.order.service;

import com.team7.order.entity.PlayHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team7.order.utils.CommonResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张煜杰
 * @since 2021-10-28
 */
public interface PlayHistoryService extends IService<PlayHistory> {
    //    根据课程id和会员id插入播放信息
    CommonResult insertPlayHistoryByCourseId(String vedeoId, String userId);
    //    查询播放信息
    CommonResult queryPlayHistory(Integer page,Integer limit,String HuiYuanId,PlayHistory playHistory);
    //    更新时间
    CommonResult updatePlayHistory(String userId,String vedeoId);

}
